package com.school.information.core.wechat.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 微信小程序配置属性
 */
@Component
@Data
@ConfigurationProperties(prefix = "wechat.app")
public class WeChatAppProperties {

    /**
     * 小程序appid
     */
    private String appId;

    /**
     * 小程序密钥
     */
    private String secret;
    /**
     * 商户号
     */
    private String mchId;
    /**
     * 商户密钥
     */
    private String mchKey;
}
